SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '172f6d05ad112abe2a5506bc5808c61f99accf3d34d58fc5fe951d3ded36967f' 
  AND token = 'WgFRgiJs39BqbdfWaaJDo/oTn6jTvDmtPlE7maxcEB8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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