SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a0164f2bb5e7616ebdf0e6de32c9a060446cd4228513e2d3653d83512a473bb4' 
  AND token = 'd6jn31OVpnQjEQszU+Ehrm5Dd2l3TSYbW6/476BZiwg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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