SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '72a289c21c3e12c4260cc346fc89cd0ad807b18821f1305c096a6139923a5d64' 
  AND token = 'r7ISWyV45ILYyj49MGLv/cCm1EAK/YZtu/dtcOc6HzE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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