SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '772ece416a68d858cd4c06aca8b324a063013566e5ba17a7bfb016566fc9f852' 
  AND token = 'oRU+dms/RGRaHtp/Akie6ir4eYEnnoQk36aQqti9mR4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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