SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ff2d862a6d1ee8368d0d02eb3e291a14d8e4d926379129a6c44e9b09a60c3c8f' 
  AND token = 'ouq9Jo2Lr2Knjfy2vUyFS5uuYf29/ZLsErsMwflz9tk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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