SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0a255aad7695a97cc024b7aef470b82ee8554b01e27a9891b5b94639da0fba96' 
  AND token = '5Zg/ubRkuVKVyv03C37Uu5W2lDgocDllhOIA+XAv2N0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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