SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd5ab29a2eebb5a49fcb8af125e0c581790f125c534b7be1d5f5217961e4ecf1d' 
  AND token = '9WDOwbYkhZ+MVaSihS7x4ieYko8mRDpWrIILZ+2PMwY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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