SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ff3de37760878f6cd2bb6bba0b2124ff5519a92c3fae85e8c2c467ba227e40ac' 
  AND token = 'mrbyTVw/rG4lxK7ptFJ6+qp5v0QaQkL8x6SjVd+WREc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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