SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ff8cf01bd160a84bbfda73dfd28ab2b40737d7ab30601bb2304279c48022c4a5' 
  AND token = 'Zt+/2UWVZ3NXKoRABzx2N4YBHYpgPbTTnYXX/IUwQBM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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