SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '247216bb3ed6e50becdf835cc5f27788c1c441425d7a317e41fc4e847cc0c691' 
  AND token = 'Sa0TT6I9P0G8g/KRRQ8LkPbv0XjdC3Roh/hReq6VJN4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}