SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '31056bf4cbc6af42d9194fbf67551b61d71ce40e5cd2f9caddf87afa7557ddce' 
  AND token = 'Tve5ZbX7pXUsm8b5RmVZDWbfWB/QJVV5TijgSkQ7COk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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