SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7bd12f8a85f611d224639ebc3292f74e180ab3af9a3824536e81107d77aef05b' 
  AND token = 'mOxB0Zbar6l/dXKlxtpiFtR2V71zHOwJ7vrGt18zJyw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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