SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2b7a3ba69901b1c8dfdad6e55074fb3ac38c87f37eb2b8d448a0ec9577e4afa5' 
  AND token = 'nJOinTYTVyZLQ3yUjy17p5WaH15IR+0/6+fjmhpZsTI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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