SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ba9664dc864e16d259d27ea68ec195a8a71deb147b9a63e40a597f3ab54c6171' 
  AND token = '0oo4cS89BPEC2ak50RRASuJbetN/Ljgy3l8xxkHFDu4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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