SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'eff477644e43bf05f9a8b66956a3dba4bfdd0a69e91142be8a6ad4ce779a0cd7' 
  AND token = '47Zd6bXGQXhx2uIFCOTk3mZkqyF8SOICZcdt+sPP1oU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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