SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '574feb7ccb6661d09c63202f75963a7fe814a81a5056e524a1dd7e08bd62a87f' 
  AND token = 'ZP261EStWlceP3ZorofP64l2zKo1SISDeZL8192Fg3s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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