SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7f9cd0ee294370ed613887384c7a68c2c3486b2783fc0d17a9be43b312f3b6d6' 
  AND token = 'cr4GyJ5hTFHkj8oTc8Aiz6IMSWz0sjzWVUyw8Z/34/w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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