SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fd436579af56f3cb83b8c94cf74305fe6f6217f7f1aa4f62e8f10ef20d02a1f1' 
  AND token = 'UZ+SyAAzeK8JtHHZpGb+Ozq4vrvN/zj/0Y3fSvEJa9w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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