SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6b51bc31c3a1a24cb289c06b06a9f9a79251a30c402e384a2c5287c0f1f979e0' 
  AND token = 'ioTy5uen7BlGIdKPJHIrceMoiNXOOCjx8k+IRb4J85E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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