SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fd87a0fe2bda5ec3620ed6528564363d575edf2f75f4e65fe8088ea729b0488f' 
  AND token = 'ddUEQnHPZJ0kpXNs7c8F+dsQRGo2VIWA2MOHOEZa7Uo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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