SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '77f013fbbe6df6d596afd2c8f09f6a5858996b403e61d8a002ffa84c01a7de0c' 
  AND token = '06GOPakdOgqcitZ9EUW9ZcSDTKlfT4DcWCGKjEjSvcQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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