SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c780d86874cf5610f041d33144074bc46d940c663b24be5bb04fb9e7ee40c075' 
  AND token = '1IJmthjRdkfmVneAuojJSdPAOxyN58hBoSHZTSafTmI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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