SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dd404cb01e61089cd89ebfddcf084c0877d8fc49679b27b26bbd6195937ec077' 
  AND token = '9Rw+6c1RsQQankSXB2yNKPH9o3iohKhEJejA4qcJt+k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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