SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7cc97e7e2850ca4fb0fb59948283bcd8a8864f786a6a9cb3813c7e9a5ca6efec' 
  AND token = 'BsKO/oL+Iyl2vZ5M3FAxXYAuze0FjLaSlW3xnFMViQI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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