SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5e5b618e8537787907fb05137f0528fe965cc2fb141d0d464ac479508eabc828' 
  AND token = '7PKWKvpwfIgaF8PNec+3u8UH6zfVmqwrVoHbcJpPu8A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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