SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd8791e27799749cb4d9b01123c3dc718b224cfdb34be433f0ea3d025831185f2' 
  AND token = '5fmJeaJOksS9wWlMTp4TQ9kKUB4tO900qLzeBn/nnZo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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