SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '17fe0f3cd7e67cf9d9b74aacc07a6e64640b8831540dab7b0ef3531482514305' 
  AND token = 'J8voJ2x9U3EtQXMjsRdMe/I6dc6AcpwvGzACnxC5Zz4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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