SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '99dcafb20e17a287660d8b9d613673c13a4d1c52d5a6ff170a67c31eb668713f' 
  AND token = 'Ayz7GyNHHi9cZ8F4LQ7TcyOvC+dW0fuik2kZYBIcOqs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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