SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0ba3f15c1db6fd76b5fe160ffc632c24ccf38216b9e8586993ac6610c2b8551a' 
  AND token = 'IfLWZmNmtxLPOKothrzgMWT+Oo7rhGZQWM9l0A+i54U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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