SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '509cbf6963d68b2bd2433af091433dedf778263d518d4e01037b1bdc0ec4a87b' 
  AND token = 'JjrXsfPtzC+BPBZRjUAKHf4oBnLOLOOsF7sOFsLFkco=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}