SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '580f290db24be9ea7386f2b1f40774f58ba5d71d045762b54cefec000348891b' 
  AND token = 'OeCFQMDyFUqHlbCC8+YaLW8YD7sTNYSN+sjJcLxxycw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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