SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '17dd80de3fdc265030a672ff8ef46e4a82baf2dd03d5e52776be55e4c4113c38' 
  AND token = 'MLUi9aP/OtpmKXHhsrSfVPFnduS/DOHjPn3/8w/cuWs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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