SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e0076067fe5e86cda7193db2e15bcd79147fbfa01ad79209247e765461b3264a' 
  AND token = 'kB7AJJlS30o8xDkAE5Fpd3ApZLC0vGZ8WJvCs26oFug=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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