SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5f73a11285a88ea9a9543c4077dc310edbdc20bdbb0d40beda0f2fcf0e784db7' 
  AND token = 'm6mNmRi9iy7JsVOY0Kd/L3+4q7VJav88xnjCMEq7HP4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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